package com.tl.khadmin.bean;

public class ProductImg {
    private Integer id;

    private Integer productId;

    private String imgPath;

    private Integer type;
    
    //1:主图；2:副图
    public static final int MAIL_IMG =  1;
    public static final int VICE_IMG =  2;
    

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath == null ? null : imgPath.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}